package com.share.hope.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.hope.entity.UserLikesPosts;
import com.share.hope.entity.result.R;

import java.util.Map;

public interface LikesPostsService extends IService<UserLikesPosts> {

    R<String> createLikes(Long userId, Long postsId);

    Map<Long, Long> getCount();
}
